call rd /S /Q %GF_HOME%\domains\%1\logs
if "%gdbg_val%" == "" set gdbg_val=true
call %gf_home%\bin\asadmin start-domain --debug=%gdbg_val% %1